<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>图片延迟加载</title>
    <link rel="stylesheet" href="">
    <script type="text/javascript" src=""></script>
    <style>
        .g-main{width:780px;height:300px;margin:100px auto ;}
        .m-main a{background:url(images/loading.gif) center center no-repeat;float:left}
        .m-main img{border:0;/*filter:alpha(opacity:0);opacity:0;*/}
    </style>
</head>
<body>
    <div class="g-main">
        <div class="m-main">
            <a href=""><img src="images/1.jpg" alt=""></a>
            <a href=""><img src="images/2.png" alt=""></a>
            <a href=""><img src="images/4.png" alt=""></a>
            <a href=""><img src="images/5.png" alt=""></a>
            <a href=""><img src="images/3.jpg" alt=""></a>
            <a href=""><img src="images/6.jpg" alt=""></a>
        </div>
        <div class="m-main">
            <a href=""><img src="images/1.jpg" alt=""></a>
            <a href=""><img src="images/2.png" alt=""></a>
            <a href=""><img src="images/4.png" alt=""></a>
            <a href=""><img src="images/5.png" alt=""></a>
            <a href=""><img src="images/3.jpg" alt=""></a>
            <a href=""><img src="images/6.jpg" alt=""></a>
        </div>
        <div class="m-main">
            <a href=""><img src="images/1.jpg" alt=""></a>
            <a href=""><img src="images/2.png" alt=""></a>
            <a href=""><img src="images/4.png" alt=""></a>
            <a href=""><img src="images/5.png" alt=""></a>
            <a href=""><img src="images/3.jpg" alt=""></a>
            <a href=""><img src="images/6.jpg" alt=""></a>
        </div>
        <div class="m-main">
            <a href=""><img src="images/1.jpg" alt=""></a>
            <a href=""><img src="images/2.png" alt=""></a>
            <a href=""><img src="images/4.png" alt=""></a>
            <a href=""><img src="images/5.png" alt=""></a>
            <a href=""><img src="images/3.jpg" alt=""></a>
            <a href=""><img src="images/6.jpg" alt=""></a>
        </div>
        <div class="m-main">
            <a href=""><img src="images/1.jpg" alt=""></a>
            <a href=""><img src="images/2.png" alt=""></a>
            <a href=""><img src="images/4.png" alt=""></a>
            <a href=""><img src="images/5.png" alt=""></a>
            <a href=""><img src="images/3.jpg" alt=""></a>
            <a href=""><img src="images/6.jpg" alt=""></a>
        </div>
        <div class="m-main">
            <a href=""><img src="images/1.jpg" alt=""></a>
            <a href=""><img src="images/2.png" alt=""></a>
            <a href=""><img src="images/4.png" alt=""></a>
            <a href=""><img src="images/5.png" alt=""></a>
            <a href=""><img src="images/3.jpg" alt=""></a>
            <a href=""><img src="images/6.jpg" alt=""></a>
        </div>
    </div>      
</body>
</html>